package com.kpf.springcloud.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kpf.springcloud.pojo.KpfTopic;

/**
 * @author shiwen
 * @date 2021/3/1
 */
public interface TopicMapper extends BaseMapper<KpfTopic> {

    /**
     * 根据用户id删除所有的信息
     *
     * @param userId
     */
    void deleteByUserId(int userId);

}